Ext.define('TS.model.rp.RpBillDetailModel',{
	extend: 'Ext.data.Model',
	fields:[
	        {name: 'id',type: 'int'},
	        {name: 'rpBillId',type: 'int'},
	        {name: 'arpBillId',type: 'int'},
	        {name: 'settleAmount',type: 'float'},
	        {name: 'discount',type: 'float'},
	        {name: 'remark',type: 'string'}
	],
	idProperty:'id',
	associations:[
	        	  {type: 'hasOne',model: 'TS.model.rp.ArpBillModel',associatedName:'arpBill',associationKey:'arpBill'}
	        	  //{type: 'hasOne',model: 'TS.model.rp.ContactModel',associatedName:'contact',associationKey:'contact'}
	]
});